package com.hkyl.hospital.service;

import com.github.pagehelper.PageInfo;
import com.hkyl.hospital.entity.Operation;

import java.util.List;

/**
 * @author sjh
 * @date 2023/07/10 19:51:23
 */
public interface OperationService {

    int insert(Operation operation);

    int delete(Integer id);

    int update(Operation operation);

    List<Operation> select(Integer pageNumber, Integer pageSize);

    List<Operation> search(String operationName,Integer pageNumber, Integer pageSize);

    List<Operation> listOperation();
}
